# -c

set ray_default_renderer=2

feedback enable, repsurface, blather
feedback enable, isomesh, blather
i 
/print "BEGIN-LOG"

#     alter,              

dele all
load dat/pept.pdb
alter (elem n,o),vdw=4.0
show dots
ray

#     alter_state,    
    
alter_state 1,(all),x=x+y
hide
show lines
ray

dele all
load dat/pept.pdb
load dat/pept.pdb
alter_state -1,(all),x=x+y
alter_state 0,(all), x=x+y
alter_state 1,(all), x=x+y
alter_state 2,(all), x=x+y
alter_state 3,(all), x=x+y

#     h_add,              

dele all
load dat/small01.mol
remove hydro
h_add
count_atoms

#     h_fill,             

dele all
load dat/small01.mol

#     attach,             

dele all
load dat/small01.mol
remove id 17
count_atoms
edit id 3
attach X,4,2
count_atoms
edit elem X
remove_picked
unpick
print cmd.get_names()
count_atoms
h_add
count_atoms

#     bond,               

dele all
load dat/small01.mol
unbond id 1,id 2
h_add
count_atoms
remove hydro
bond id 1,id 2
h_add
count_atoms

#     cycle_valence,      

dele all
load dat/small01.mol
edit id 6,id 10
cycle_valence
count_atoms
cycle_valence
count_atoms
remove_picked
bond id 6,id 10,2
h_add
set valence=0.05
ray

#     deprotect

dele all
load dat/pept.pdb
get_extent
protect resi 1-6
edit 2/sg,12/sg
torsion 90
get_extent
undo
get_extent
redo
get_extent
undo
get_extent
deprotect
edit 2/sg,12/sg
torsion 90
get_extent

#     flag,               
dele all
load dat/pept.pdb
flag ignore,(!*/ca,c,n,o,cb)
flag exfoliate,(*/cb)
show surf
ray

#     fuse
dele all

load dat/small01.mol,m1
load dat/small01.mol,m2
fuse m1 and id 31,m2 and id 31
dele m1
zoom
ray
dele all
load dat/small01.mol,m1
load dat/small01.mol,m2
remove id 30
fuse m1 and id 12,m2 and id 12
dele m1
zoom
ray

#     invert,             

dele all
load dat/small01.mol
edit id 2,id 6, id 5
invert 
print "%8.3f"%cmd.dist("id 28","id 17")

#     iterate,            
#     iterate_state,      

dele all
load dat/pept.pdb
iterate (name n),print resi
iterate_state 1,(name o),print "%8.3f %8.3f %8.3f"%(x,y,z)

#     push_undo

dele all
load dat/il2.pdb
stored.sum = 0
iterate_state 1,(il2),stored.sum=stored.sum+x
print "%8.3f"%stored.sum
cmd.push_undo("(il2)")
alter_state 1,(il2),x=0.0
rebuild
stored.sum = 0
iterate_state 1,(il2),stored.sum=stored.sum+x
print "%8.3f"%stored.sum
edit il2`1
undo
stored.sum = 0
iterate_state 1,(il2),stored.sum=stored.sum+x
print "%8.3f"%stored.sum
rebuild
show dots
ray

#     rename

dele all
load dat/small01.mol
iterate (all),print name
rename small01
iterate (all),print name

#     replace,            

dele all
load dat/small01.mol
edit id 3
replace N,3,3

#     rotate,             

dele all
load dat/pept.pdb
get_extent

# rotate via TTT matrix

origin pept,object=pept
rotate x,-45,object=pept
get_extent
reset
get_extent

# rotate by transforming coordinates

rotate x,45,pept
get_extent

#     set_dihedral,       

dele all
load dat/pept.pdb
get_dihedral 1/n,1/ca,1/c,1/o
get_extent
set_dihedral 1/n,1/ca,1/c,1/o,180
get_dihedral 1/n,1/ca,1/c,1/o
get_extent

#     set_geometry,       

dele all
load dat/small01.mol
remove not id 3
zoom
count_atoms
set_geometry (id 3),4,4
h_add
count_atoms
remove hydro
set_geometry (id 3),3,3
h_add
count_atoms
remove hydro
set_geometry (id 3),2,2
h_add
count_atoms
remove hydro
set_geometry (id 3),4,2
h_add
count_atoms

#     sort

dele all
load dat/pept.pdb
alter (all),resi = (999-int(resi)-ID/4)
sort
show sph,(byres id 10)
ray

dele all

#     transform_object,   

dele all
load dat/pept.pdb
get_extent

cmd.edit("(pept`95)",pkresi=1)
cmd.push_undo("pept",1)
_ cmd.transform_object('pept',[\
_     0.999612808,    0.027825667,   -0.000077698,   -3.977999926,\
_    -0.027825667,    0.999597192,   -0.005583217,   15.845000267,\
_    -0.000077693,    0.005583217,    0.999984384,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999956429,    0.009329276,   -0.000008728,   -3.977999926,\
_    -0.009329276,    0.999954700,   -0.001871926,   15.845000267,\
_    -0.000008747,    0.001871926,    0.999998271,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999956012,    0.009383750,   -0.000008831,   -3.977999926,\
_    -0.009383750,    0.999954224,   -0.001882848,   15.845000267,\
_    -0.000008828,    0.001882848,    0.999998212,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999955475,    0.009438149,   -0.000008929,   -3.977999926,\
_    -0.009438149,    0.999953687,   -0.001893768,   15.845000267,\
_    -0.000008937,    0.001893768,    0.999998212,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999817729,    0.019091271,   -0.000036572,   -3.977999926,\
_    -0.019091271,    0.999810398,   -0.003830661,   15.845000267,\
_    -0.000036570,    0.003830661,    0.999992669,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999813735,    0.019299908,   -0.000037382,   -3.977999926,\
_    -0.019299908,    0.999806225,   -0.003872524,   15.845000267,\
_    -0.000037370,    0.003872524,    0.999992490,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999567509,    0.029407805,   -0.000086776,   -3.977999926,\
_    -0.029407805,    0.999550104,   -0.005900678,   15.845000267,\
_    -0.000086780,    0.005900678,    0.999982595,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.997571170,    0.069516540,   -0.004380532,   -3.977999926,\
_    -0.069563791,    0.997508168,   -0.011760761,   15.845000267,\
_     0.003552048,    0.012036922,    0.999921262,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.997555196,    0.069744743,   -0.004396275,   -3.977999926,\
_    -0.069792308,    0.997491777,   -0.011798930,   15.845000267,\
_     0.003562339,    0.012076910,    0.999920726,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.997563481,    0.069626763,   -0.004388139,   -3.977999926,\
_    -0.069674164,    0.997500300,   -0.011779207,   15.845000267,\
_     0.003557028,    0.012056244,    0.999921024,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999480546,    0.032227334,   -0.000096836,   -3.977999926,\
_    -0.032227334,    0.999462485,   -0.006007293,   15.845000267,\
_    -0.000096825,    0.006007293,    0.999981940,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999473333,    0.032449819,   -0.000098181,   -3.977999926,\
_    -0.032449819,    0.999455035,   -0.006048767,   15.845000267,\
_    -0.000098164,    0.006048767,    0.999981701,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.997649789,    0.068378359,   -0.004396969,   -3.977999926,\
_    -0.068426117,    0.997586131,   -0.011825523,   15.845000267,\
_     0.003577747,    0.012098598,    0.999920428,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999759138,    0.021945618,   -0.000043895,   -3.977999926,\
_    -0.021945618,    0.999751151,   -0.003997881,   15.845000267,\
_    -0.000043860,    0.003997881,    0.999992013,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999454975,    0.033009667,   -0.000099288,   -3.977999926,\
_    -0.033009667,    0.999436915,   -0.006013453,   15.845000267,\
_    -0.000099279,    0.006013453,    0.999981940,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.996102989,    0.088194676,   -0.000709927,   -3.977999926,\
_    -0.088194676,    0.995973647,   -0.016066622,   15.845000267,\
_    -0.000709932,    0.016066622,    0.999870658,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.996150196,    0.087659962,   -0.000701327,   -3.977999926,\
_    -0.087659962,    0.996022463,   -0.015969191,   15.845000267,\
_    -0.000701316,    0.015969191,    0.999872267,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999464095,    0.032733247,   -0.000097619,   -3.977999926,\
_    -0.032733247,    0.999446332,   -0.005963076,   15.845000267,\
_    -0.000097626,    0.005963076,    0.999982238,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999469817,    0.032557864,   -0.000096598,   -3.977999926,\
_    -0.032557864,    0.999452233,   -0.005931124,   15.845000267,\
_    -0.000096567,    0.005931125,    0.999982417,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999766350,    0.021615312,   -0.000042572,   -3.977999926,\
_    -0.021615312,    0.999758601,   -0.003937695,   15.845000267,\
_    -0.000042555,    0.003937695,    0.999992251,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999710083,    0.024000430,    0.001933359,   -3.977999926,\
_    -0.023992581,    0.999704182,   -0.003985575,   15.845000267,\
_    -0.002028448,    0.003938031,    0.999990165,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999771357,    0.021381261,   -0.000042147,   -3.977999926,\
_    -0.021381261,    0.999763608,   -0.003940882,   15.845000267,\
_    -0.000042131,    0.003940882,    0.999992251,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999856234,    0.016477622,    0.003998880,   -3.977999926,\
_    -0.016469561,    0.999862254,   -0.002040799,   15.845000267,\
_    -0.004031961,    0.001974639,    0.999989927,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999702752,    0.024299793,    0.001967342,   -3.977999926,\
_    -0.024291661,    0.999696672,   -0.004057166,   15.845000267,\
_    -0.002065335,    0.004008170,    0.999989808,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.998366356,    0.056565199,    0.008061420,   -3.977999926,\
_    -0.056496318,    0.998366356,   -0.008530827,   15.845000267,\
_    -0.008530803,    0.008061446,    0.999931097,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999896765,    0.014221763,    0.002071935,   -3.977999926,\
_    -0.014217408,    0.999896765,   -0.002101622,   15.845000267,\
_    -0.002101605,    0.002071952,    0.999995649,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.991289675,    0.129997313,    0.021106379,   -3.977999926,\
_    -0.129598856,    0.991379321,   -0.019265709,   15.845000267,\
_    -0.023428919,    0.016362535,    0.999591589,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.995724916,    0.091445915,    0.013022626,   -3.977999926,\
_    -0.091259263,    0.995724916,   -0.014272061,   15.845000267,\
_    -0.014272070,    0.013022616,    0.999813318,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.992151022,    0.123839013,    0.017327964,   -3.977999926,\
_    -0.123496316,    0.992151022,   -0.019621914,   15.845000267,\
_    -0.019621920,    0.017327959,    0.999657273,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.987182200,    0.157298997,    0.026987409,   -3.977999926,\
_    -0.156754389,    0.987409115,   -0.021243569,   15.845000267,\
_    -0.029989211,    0.016740866,    0.999410033,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.988826096,    0.146419868,    0.028001446,   -3.977999926,\
_    -0.145994946,    0.989144802,   -0.016672205,   15.845000267,\
_    -0.030138634,    0.012397830,    0.999468863,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.988880694,    0.146063492,    0.027936010,   -3.977999926,\
_    -0.145640627,    0.989197791,   -0.016626438,   15.845000267,\
_    -0.030062759,    0.012372933,    0.999471426,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.992260039,    0.122100681,    0.022614853,   -3.977999926,\
_    -0.121768683,    0.992437124,   -0.015523195,   15.845000267,\
_    -0.024339212,    0.012649264,    0.999623716,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.995492339,    0.093139939,    0.017886648,   -3.977999926,\
_    -0.092971854,    0.995618403,   -0.010010870,   15.845000267,\
_    -0.018740689,    0.008302785,    0.999789894,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.997534394,    0.068973161,    0.012953469,   -3.977999926,\
_    -0.068855830,    0.997583270,   -0.009296350,   15.845000267,\
_    -0.013563366,    0.008381505,    0.999872863,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999737382,    0.022498198,    0.004355007,   -3.977999926,\
_    -0.022488605,    0.999744594,   -0.002239068,   15.845000267,\
_    -0.004404270,    0.002140541,    0.999988019,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999937415,    0.010971073,    0.002191177,   -3.977999926,\
_    -0.010971073,    0.999939799,   -0.000012009,   15.845000267,\
_    -0.002191177,   -0.000012031,    0.999997616,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999937356,    0.010975216,    0.002192002,   -3.977999926,\
_    -0.010975216,    0.999939740,   -0.000012025,   15.845000267,\
_    -0.002192002,   -0.000012039,    0.999997616,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999937356,    0.010977861,    0.002192531,   -3.977999926,\
_    -0.010977861,    0.999939740,   -0.000012029,   15.845000267,\
_    -0.002192531,   -0.000012034,    0.999997616,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999937296,    0.010979309,    0.002192821,   -3.977999926,\
_    -0.010979309,    0.999939680,   -0.000012033,   15.845000267,\
_    -0.002192821,   -0.000012053,    0.999997616,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.996315479,    0.084181353,    0.016397288,   -3.977999926,\
_    -0.084040806,    0.996420920,   -0.009080837,   15.845000267,\
_    -0.017103041,    0.007669331,    0.999824345,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999775708,    0.020774411,    0.004114752,   -3.977999926,\
_    -0.020765854,    0.999782145,   -0.002111074,   15.845000267,\
_    -0.004157716,    0.002025147,    0.999989331,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999752700,    0.021851975,    0.004126509,   -3.977999926,\
_    -0.021851975,    0.999761224,   -0.000045093,   15.845000267,\
_    -0.004126509,   -0.000045090,    0.999991477,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999953508,    0.009430714,    0.002028529,   -3.977999926,\
_    -0.009426562,    0.999953508,   -0.002047728,   15.845000267,\
_    -0.002047736,    0.002028521,    0.999995828,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999938488,    0.010901668,    0.002035277,   -3.977999926,\
_    -0.010901668,    0.999940574,   -0.000011091,   15.845000267,\
_    -0.002035277,   -0.000011104,    0.999997914,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999938726,    0.010883649,    0.002031916,   -3.977999926,\
_    -0.010883649,    0.999940813,   -0.000011052,   15.845000267,\
_    -0.002031916,   -0.000011056,    0.999997914,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999938905,    0.010864374,    0.002028317,   -3.977999926,\
_    -0.010864374,    0.999940991,   -0.000011024,   15.845000267,\
_    -0.002028317,   -0.000011020,    0.999997914,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999956250,   -0.009121472,   -0.002063770,   -3.977999926,\
_     0.009125693,    0.999956250,    0.002045003,   15.845000267,\
_     0.002045029,   -0.002063745,    0.999995768,  -20.367000580,\
_     3.977999926,  -15.845000267,   20.367000580,    1.000000000\
_     ],1,1,'_pkfrag1',transpose=1)
cmd.edit("(pept`10)",pkresi=1)
cmd.push_undo("pept",1)
_ cmd.transform_object('pept',[\
_     0.998223484,    0.054805834,   -0.023371546,   -2.638000011,\
_    -0.055624474,    0.997804403,   -0.035947800,   13.824999809,\
_     0.021350088,    0.037183963,    0.999080360,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999854326,    0.016056139,   -0.005792378,   -2.638000011,\
_    -0.016125102,    0.999797225,   -0.012063659,   13.824999809,\
_     0.005597531,    0.012155293,    0.999910474,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999851644,    0.016203685,   -0.005846524,   -2.638000011,\
_    -0.016273921,    0.999793470,   -0.012174507,   13.824999809,\
_     0.005648070,    0.012267835,    0.999908805,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999849021,    0.016345304,   -0.005898729,   -2.638000011,\
_    -0.016416781,    0.999789834,   -0.012280555,   13.824999809,\
_     0.005696776,    0.012375532,    0.999907196,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.998639941,    0.046562470,   -0.023457309,   -2.638000011,\
_    -0.047153339,    0.998567224,   -0.025299035,   13.824999809,\
_     0.022245714,    0.026370715,    0.999404669,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999837995,    0.016976791,   -0.005981034,   -2.638000011,\
_    -0.017050324,    0.999776900,   -0.012467264,   13.824999809,\
_     0.005768071,    0.012567212,    0.999904394,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999835849,    0.017089091,   -0.006021551,   -2.638000011,\
_    -0.017163612,    0.999773920,   -0.012549403,   13.824999809,\
_     0.005805738,    0.012650692,    0.999903142,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999833822,    0.017193643,   -0.006059034,   -2.638000011,\
_    -0.017269073,    0.999771178,   -0.012626152,   13.824999809,\
_     0.005840579,    0.012728677,    0.999901950,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999935627,    0.011339231,   -0.000325149,   -2.638000011,\
_    -0.011342387,    0.999859095,   -0.012376739,   13.824999809,\
_     0.000184755,    0.012379630,    0.999923348,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999831855,    0.017271891,   -0.006160505,   -2.638000011,\
_    -0.017349787,    0.999767244,   -0.012823754,   13.824999809,\
_     0.005937582,    0.012928481,    0.999898791,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999830186,    0.017354779,   -0.006190669,   -2.638000011,\
_    -0.017433435,    0.999764979,   -0.012885198,   13.824999809,\
_     0.005965576,    0.012990944,    0.999897838,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999982178,    0.005970722,   -0.000150669,   -2.638000011,\
_    -0.005971553,    0.999962330,   -0.006301367,   13.824999809,\
_     0.000113062,    0.006302154,    0.999980152,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999981999,    0.006002329,   -0.000151622,   -2.638000011,\
_    -0.006003169,    0.999961913,   -0.006334684,   13.824999809,\
_     0.000113598,    0.006335480,    0.999979913,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999981761,    0.006033622,   -0.000152532,   -2.638000011,\
_    -0.006034472,    0.999961495,   -0.006367702,   13.824999809,\
_     0.000114092,    0.006368506,    0.999979734,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.998784721,    0.047322202,   -0.013770427,   -2.638000011,\
_    -0.047831189,    0.998080492,   -0.039337024,   13.824999809,\
_     0.011882455,    0.039947882,    0.999131083,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999813378,    0.019310275,   -0.000610431,   -2.638000011,\
_    -0.019318564,    0.999618351,   -0.019746300,   13.824999809,\
_     0.000228906,    0.019754406,    0.999804854,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999808550,    0.019558355,   -0.000620955,   -2.638000011,\
_    -0.019566864,    0.999608517,   -0.019999852,   13.824999809,\
_     0.000229540,    0.020008175,    0.999799788,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999803901,    0.019794246,   -0.000630578,   -2.638000011,\
_    -0.019802956,    0.999599040,   -0.020241227,   13.824999809,\
_     0.000229690,    0.020249743,    0.999794960,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999799430,    0.020017006,   -0.000640099,   -2.638000011,\
_    -0.020025916,    0.999589920,   -0.020468943,   13.824999809,\
_     0.000230096,    0.020477656,    0.999790251,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999795258,    0.020225743,   -0.000648973,   -2.638000011,\
_    -0.020234840,    0.999581337,   -0.020682368,   13.824999809,\
_     0.000230391,    0.020691264,    0.999785900,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999317765,    0.035098400,    0.011491196,   -2.638000011,\
_    -0.034580063,    0.998495162,   -0.042563815,   13.824999809,\
_    -0.012967825,    0.042137410,    0.999027669,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999921799,    0.010828514,    0.006260192,   -2.638000011,\
_    -0.010738391,    0.999840736,   -0.014256933,   13.824999809,\
_    -0.006413552,    0.014188603,    0.999878764,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999158800,    0.031611893,    0.026121158,   -2.638000011,\
_    -0.030419262,    0.998530149,   -0.044858124,   13.824999809,\
_    -0.027500819,    0.044025797,    0.998651803,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999090731,    0.032890424,    0.027128777,   -2.638000011,\
_    -0.031601205,    0.998411059,   -0.046654634,   13.824999809,\
_    -0.028620174,    0.045754902,    0.998542607,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.998493195,    0.047716487,    0.027101528,   -2.638000011,\
_    -0.045882825,    0.996851563,   -0.064666286,   13.824999809,\
_    -0.030101869,    0.063325346,    0.997538865,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.998402238,    0.049160682,    0.027859684,   -2.638000011,\
_    -0.047216386,    0.996661544,   -0.066605940,   13.824999809,\
_    -0.031041063,    0.065184087,    0.997390330,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999218702,    0.025284059,    0.030376298,   -2.638000011,\
_    -0.024238806,    0.999117613,   -0.034298901,   13.824999809,\
_    -0.031216716,    0.033535812,    0.998949885,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.998832703,    0.037744284,    0.030142643,   -2.638000011,\
_    -0.036136232,    0.997981548,   -0.052220438,   13.824999809,\
_    -0.032052811,    0.051070247,    0.998180568,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999947548,    0.006581284,    0.007850991,   -2.638000011,\
_    -0.006512749,    0.999940753,   -0.008723989,   13.824999809,\
_    -0.007907935,    0.008672403,    0.999931157,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999966621,    0.001210543,    0.008075256,   -2.638000011,\
_    -0.001209066,    0.999999225,   -0.000187712,   13.824999809,\
_    -0.008075478,    0.000177935,    0.999967337,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999966264,    0.001217368,    0.008120726,   -2.638000011,\
_    -0.001215875,    0.999999225,   -0.000188802,   13.824999809,\
_    -0.008120949,    0.000178921,    0.999966979,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.997247398,    0.033020608,    0.066387087,   -2.638000011,\
_    -0.030517181,    0.998797238,   -0.038376406,   13.824999809,\
_    -0.067574456,    0.036244810,    0.997055650,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.995185435,    0.048355918,    0.085250586,   -2.638000011,\
_    -0.043361779,    0.997286558,   -0.059491642,   13.824999809,\
_    -0.087896034,    0.055508599,    0.994581878,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.994339645,    0.065223262,    0.083872356,   -2.638000011,\
_    -0.056958698,    0.993612707,   -0.097414076,   13.824999809,\
_    -0.089690320,    0.092085406,    0.991703510,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.994652629,    0.058976471,    0.084781632,   -2.638000011,\
_    -0.052304566,    0.995511651,   -0.078871749,   13.824999809,\
_    -0.089052692,    0.074015521,    0.993273020,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.992662966,    0.067117296,    0.100575902,   -2.638000011,\
_    -0.059226073,    0.995074391,   -0.079493701,   13.824999809,\
_    -0.105415918,    0.072953716,    0.991748571,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.995080948,    0.052468691,    0.084029511,   -2.638000011,\
_    -0.049089503,    0.997919798,   -0.041789297,   13.824999809,\
_    -0.086047336,    0.037458789,    0.995586634,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.996893942,    0.041513193,    0.066926017,   -2.638000011,\
_    -0.040085930,    0.998942196,   -0.022530150,   13.824999809,\
_    -0.067790523,    0.019777365,    0.997503519,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.998328924,    0.029964678,    0.049411412,   -2.638000011,\
_    -0.028981313,    0.999369740,   -0.020499248,   13.824999809,\
_    -0.049994532,    0.019032963,    0.998568118,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999823451,    0.009198736,    0.016384427,   -2.638000011,\
_    -0.009046450,    0.999915421,   -0.009344039,   13.824999809,\
_    -0.016468998,    0.009194160,    0.999822080,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999801993,    0.011200654,    0.016446788,   -2.638000011,\
_    -0.011182527,    0.999936759,   -0.001193693,   13.824999809,\
_    -0.016459119,    0.001009540,    0.999864042,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999961793,    0.003313217,    0.008089897,   -2.638000011,\
_    -0.003243382,    0.999957502,   -0.008630463,   13.824999809,\
_    -0.008118148,    0.008603896,    0.999930024,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999950767,    0.005652342,    0.008155532,   -2.638000011,\
_    -0.005647815,    0.999983847,   -0.000577714,   13.824999809,\
_    -0.008158667,    0.000531600,    0.999966562,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999950588,   -0.005658304,   -0.008173801,   -2.638000011,\
_     0.005662847,    0.999983788,    0.000532482,   13.824999809,\
_     0.008170655,   -0.000578763,    0.999966443,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999950469,   -0.005667064,   -0.008186501,   -2.638000011,\
_     0.005671618,    0.999983788,    0.000533386,   13.824999809,\
_     0.008183346,   -0.000579779,    0.999966383,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999950290,   -0.005675293,   -0.008198421,   -2.638000011,\
_     0.005679864,    0.999983728,    0.000534164,   13.824999809,\
_     0.008195255,   -0.000580723,    0.999966264,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)
_ cmd.transform_object('pept',[\
_     0.999800026,   -0.011376870,   -0.016444597,   -2.638000011,\
_     0.011395245,    0.999934554,    0.001024170,   13.824999809,\
_     0.016431868,   -0.001211351,    0.999864280,  -23.632999420,\
_     2.638000011,  -13.824999809,   23.632999420,    1.000000000\
_     ],1,1,'_pkfrag2',transpose=1)

get_extent

#     translate,          

dele all
load dat/small01.mol

cmd.edit("(small01`3)",pkresi=1)
cmd.edit_mode()
cmd.push_undo("small01",1)
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_     0.030833511,   -0.021032041,   -0.025076704,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.065446109,   -0.040931530,   -0.046140756,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.063556522,    0.000566247,    0.002006291,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.254226089,    0.002264987,    0.008025164,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.315893441,    0.044329066,    0.058178578,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.254226446,    0.002264990,    0.008025176,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.319672644,   -0.038666591,   -0.038115639,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.254226089,    0.002264987,    0.008025164,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.319672197,   -0.038666546,   -0.038115595,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.381339401,    0.003397483,    0.012037754,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.381339133,    0.003397480,    0.012037747,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.315893024,    0.044329014,    0.058178507,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.315893441,    0.044329066,    0.058178578,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.063556522,    0.000566247,    0.002006291,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.063556567,    0.000566247,    0.002006293,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.030833468,    0.021032011,    0.025076669,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.381339133,    0.003397480,    0.012037747,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.315893024,    0.044329014,    0.058178507,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.315893233,    0.044329036,    0.058178537,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.377560228,    0.086393096,    0.108331919,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.094390057,    0.021598274,    0.027082980,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.377560228,    0.086393096,    0.108331919,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.094389990,    0.021598257,    0.027082961,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.315893024,    0.044329014,    0.058178507,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.254226089,    0.002264987,    0.008025164,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.250447094,    0.085260592,    0.104319327,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.254226267,    0.002264989,    0.008025170,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.063556567,    0.000566247,    0.002006293,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.094390057,    0.021598274,    0.027082980,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.032723077,   -0.020465780,   -0.023070395,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.030833490,    0.021032028,    0.025076687,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_     0.065446153,    0.040931560,    0.046140790,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.030833490,    0.021032028,    0.025076687,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.032723077,   -0.020465780,   -0.023070395,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.032723077,   -0.020465780,   -0.023070395,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.063556522,    0.000566247,    0.002006291,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.032723077,   -0.020465780,   -0.023070395,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.032723077,   -0.020465780,   -0.023070395,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.065446153,   -0.040931560,   -0.046140790,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.030833490,    0.021032028,    0.025076687,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.032723077,   -0.020465780,   -0.023070395,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.063556522,    0.000566247,    0.002006291,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.032723077,   -0.020465780,   -0.023070395,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_    -0.030833468,    0.021032011,    0.025076669,    1.000000000\
_     ],1,1,'_pkfrag2')
_ cmd.transform_object('small01',[\
_     1.000000000,    0.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    1.000000000,    0.000000000,    0.000000000,\
_     0.000000000,    0.000000000,    1.000000000,    0.000000000,\
_     0.063556522,   -0.000566247,   -0.002006291,    1.000000000\
_     ],1,1,'_pkfrag2')
get_extent
undo
get_extent

#     translate_atom,     

dele all
load dat/small01.mol
get_extent
cmd.set('valence','0.0500')
cmd.edit_mode()
cmd.push_undo("small01",1)
cmd.translate_atom("/small01////C`",    0.020101367,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.040202733,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.020101367,   -0.040202733,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.040202733,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.060304098,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.020101367,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.020101367,   -0.040202733,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.020101367,   -0.040202733,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.040202733,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.040202733,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.020101367,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.160810933,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.040202733,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.160810933,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.040202733,   -0.120608196,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.040202755,   -0.160811022,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.060304098,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.040202733,   -0.120608196,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.040202755,   -0.160811022,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.160810933,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.040202733,   -0.160810933,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.060304098,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.160810933,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.060304098,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.040202733,   -0.160810933,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.060304098,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.040202733,   -0.120608196,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.040202733,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.060304098,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.020101367,   -0.020101367,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.040202733,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.060304098,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.060304098,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.040202733,   -0.160810933,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.160810933,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.040202733,   -0.160810933,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.040202733,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.000000000,   -0.040202733,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",   -0.020101367,    0.000000000,    0.000000000,1,1,0)
cmd.translate_atom("/small01////C`",    0.020101367,    0.000000000,    0.000000000,1,1,0)
get_extent
undo
get_extent

# update 

dele all
load dat/pept.pdb
get_extent
load dat/pept.pdb,sav
alter_state 1,(pept),x=1;y=2;z=3;
rebuild
get_extent pept
update pept,sav
get_extent pept

/print "END-LOG"






